package com.um.info.dto.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cs.framework.ui.bo.Menu;

/**
 * UM菜单
 * 
 * @author hedongzhou
 * 
 */
@Entity
@Table(name = "um_menu")
public class UmMenuDto extends Menu {

	private static final long serialVersionUID = -7294043986193284647L;

	/**
	 * 菜单ID
	 */
	@Id
	@Column(name = "menu_id")
	private String menuId;

	/**
	 * 父菜单ID
	 */
	@Column(name = "parent_id")
	private String parentId;

	/**
	 * 远程地址
	 */
	private String url;

	/**
	 * 菜单排序序号
	 */
	@Column(name = "menu_no")
	private Integer menuNo;

	/**
	 * 是否默认显示
	 */
	@Column(name = "is_show")
	private String isShow;

	/**
	 * 是否仅管理员可见
	 */
	@Column(name = "only_admin")
	private String onlyAdmin;

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getMenuNo() {
		return menuNo;
	}

	public void setMenuNo(Integer menuNo) {
		this.menuNo = menuNo;
	}

	public String getIsShow() {
		return isShow;
	}

	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}

	public String getOnlyAdmin() {
		return onlyAdmin;
	}

	public void setOnlyAdmin(String onlyAdmin) {
		this.onlyAdmin = onlyAdmin;
	}

}
